package org.example.model;

public class Department {
    private int departmentid;
    private String name;
    private Integer leaderid;
    private String phone;
    private String location;

    @Override
    public String toString() {
        return "Department{" +
                "departmentid=" + departmentid +
                ", departname='" + name + '\'' +
                ", leaderid=" + leaderid +
                ", phone='" + phone + '\'' +
                ", location='" + location + '\'' +
                '}';
    }

    public int getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(int departmentid) {
        this.departmentid = departmentid;
    }

    public String getDepartname() {
        return name;
    }

    public void setDepartname(String departname) {
        this.name = departname;
    }

    public Integer getLeaderid() {
        return leaderid;
    }

    public void setLeaderid(Integer leaderid) {
        this.leaderid = leaderid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
